linking miniruby
/Users/peter/ruby-2.0.0-p0/lib/fileutils.rb:111: [BUG] Stack consistency error (sp: 38, bp: 36)
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.2.0]

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:
     * ~/Library/Logs/CrashReporter
     * /Library/Logs/CrashReporter
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   the more detail of.

-- Control frame information -----------------------------------------------
c:0006 p:0038 s:0038 e:000037 CLASS  /Users/peter/ruby-2.0.0-p0/lib/fileutils.rb:111
c:0005 p:0035 s:0034 e:000033 CLASS  /Users/peter/ruby-2.0.0-p0/lib/fileutils.rb:107
c:0004 p:0009 s:0032 e:000031 TOP    /Users/peter/ruby-2.0.0-p0/lib/fileutils.rb:85 [FINISH]
c:0003 p:---- s:0030 e:000029 CFUNC  :require
c:0002 p:0098 s:0026 E:0002d8 EVAL   ./tool/mkconfig.rb:11 [FINISH]
c:0001 p:0000 s:0002 E:0017a8 TOP    [FINISH]

./tool/mkconfig.rb:11:in `<main>'
./tool/mkconfig.rb:11:in `require'
/Users/peter/ruby-2.0.0-p0/lib/fileutils.rb:85:in `<top (required)>'
/Users/peter/ruby-2.0.0-p0/lib/fileutils.rb:107:in `<module:FileUtils>'
/Users/peter/ruby-2.0.0-p0/lib/fileutils.rb:111:in `<module:NoWrite>'

-- C level backtrace information -------------------------------------------
0   miniruby                            0x0000000108f50e14 rb_vm_bugreport + 164
1   miniruby                            0x0000000108e287de report_bug + 302
2   miniruby                            0x0000000108e28a94 rb_bug + 180
3   miniruby                            0x0000000108f46e90 vm_exec_core + 32080
4   miniruby                            0x0000000108f4706e vm_exec + 94
5   miniruby                            0x0000000108f47f4a rb_iseq_eval + 266
6   miniruby                            0x0000000108e2d3f2 rb_load_internal + 306
7   miniruby                            0x0000000108e2eb41 rb_require_safe + 1313
8   miniruby                            0x0000000108f36c44 call_cfunc_1 + 20
9   miniruby                            0x0000000108f3d116 vm_call_cfunc + 1046
10  miniruby                            0x0000000108f4bcd0 vm_call_method + 224
11  miniruby                            0x0000000108f42353 vm_exec_core + 12819
12  miniruby                            0x0000000108f4706e vm_exec + 94
13  miniruby                            0x0000000108f47e1e rb_iseq_eval_main + 206
14  miniruby                            0x0000000108e2bb5f ruby_exec_internal + 111
15  miniruby                            0x0000000108e2cb42 ruby_run_node + 82
16  miniruby                            0x0000000108df2f2f main + 79
17  libdyld.dylib                       0x00007fff8b3dc7e1 start + 0

-- Other runtime information -----------------------------------------------

* Loaded script: ./tool/mkconfig.rb

* Loaded features:

    0 enumerator.so

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html